* {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* body {
  display: flex;
  justify-content: center;
  align-items: center;
} */
div.slide {
  width: 100%;    
  min-height: 85vh;
  overflow: hidden;
  position: relative;
}
input {
  display: none;
}
.labels {
  position: absolute;
  bottom: .5rem;
  z-index: 1;
  width: inherit;
  justify-content: center;
  display: flex;
}
.labels label {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  margin: 0 .3rem;
  border: .1rem solid #fff;
  background-color: transparent;
  box-sizing: border-box;
  cursor: pointer;
}
input[id=pic1]:checked ~ .labels label[for=pic1],
input[id=pic2]:checked ~ .labels label[for=pic2],
input[id=pic3]:checked ~ .labels label[for=pic3],
input[id=pic4]:checked ~ .labels label[for=pic4] {
  background-color: #fff;
  border: .1rem solid #fff;
}
input[id=pic1]:checked ~ ul.list{
  transform: translate(0,0);
}
input[id=pic2]:checked ~ ul.list {
  transform: translate(0,-85vh);
}
input[id=pic3]:checked ~ ul.list {
  transform: translate(0,-170vh);
}
input[id=pic4]:checked ~ ul.list {
  transform: translate(0,-255vh);
}
.slide:hover .list{
  animation: none;
}
.slide:hover {
  cursor: pointer;
}
.slide:hover .labels {
  display: flex;
}
.labels {
  position: absolute;
  bottom: .5rem;
  z-index: 1;
  width: inherit;
  justify-content: center;
  display: none;
}
ul.list {
  width: 100%;
  max-height: 85vh;
  position: relative;
  z-index: -1;
  animation: move 8s ease infinite;
}
li.item {
  width: 100%;
  min-height: 85vh;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
}
li.item1{
  background-image: url(../img/1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
li.item2{
  background-image: url(../img/2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
li.item3{
  background-image: url(../img/3.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
li.item4{
  background-image: url(../img/4.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
  @keyframes move {
    0% {
      transform: translate(0,0);
    }
    25% {
      transform: translate(0,-85vh);
    }
    50% {
      transform: translate(0,-170vh);
    }
    75% {
      transform: translate(0,-255vh);
    }
    100% {
      transform: translate(0,-340vh);
    }
  }

  @media only screen and (min-width: 1024px) {
      li.item{
          background-repeat: no-repeat;
          background-size: cover;
          background-position: center top;


        }
  }
  @media only screen and (max-width: 768px) {
    

        
  }
  